CC = g++
OBJECTS = vector3f.o camera.o quaternion.o game.o character.o stage.o #EasyBMP.o
LFLAGS = -lGL -lGLU -lglut
EXEC = ihc
INCLUDE = -I./include/easyBMP/

$(EXEC): src/main.cpp $(OBJECTS)
	$(CC) $^ -o $@ $(LFLAGS) -g #$(INCLUDE)

%.o: src/%.cpp
	$(CC) -c $< -o $@

EasyBMP.o: include/easyBMP/EasyBMP.cpp
	$(CC) -c $< -o $@

clean:
	rm *.o
	rm $(EXEC)

